c7358b8e300cff955f116f36ccc6a39141fe6820,java/org/lwjgl/vulkan/VkGraphicsPipelineCreateInfo.java,VkGraphicsPipelineCreateInfo,validate,#number#,418

Before Change


	 * @param struct the struct to validate
	 */
	public static void validate(long struct) {
		checkPointer(memGetAddress(struct + VkGraphicsPipelineCreateInfo.PSTAGES));
		checkPointer(memGetAddress(struct + VkGraphicsPipelineCreateInfo.PVERTEXINPUTSTATE));
		checkPointer(memGetAddress(struct + VkGraphicsPipelineCreateInfo.PINPUTASSEMBLYSTATE));
		checkPointer(memGetAddress(struct + VkGraphicsPipelineCreateInfo.PRASTERIZATIONSTATE));

After Change


	 */
	public static void validate(long struct) {
		int stageCount = nstageCount(struct);
		long pStages = memGetAddress(struct + VkGraphicsPipelineCreateInfo.PSTAGES);
		checkPointer(pStages);
		VkPipelineShaderStageCreateInfo.validate(pStages, stageCount);
		long pVertexInputState = memGetAddress(struct + VkGraphicsPipelineCreateInfo.PVERTEXINPUTSTATE);
		checkPointer(pVertexInputState);
		VkPipelineVertexInputStateCreateInfo.validate(pVertexInputState);